package com.ovhoo.android.fiveexplore;

import com.ovhoo.android.fiveexplore.R;
import com.ovhoo.android.file.FileInterface;

import android.content.Context;
import android.os.Message;

public class RenameFileDialog extends NewDirDialog {

	public RenameFileDialog(Context context, Message msgOk, FileInterface file) {
		super(context, msgOk);
		
		//This class is the same as create dir except for the Ok button text 
		this.okButton.setText(this.getContext().getResources().getString(R.string.OPEN_FILE_RENAME));
		this.dirNameEdit.setText(file.getName());
		this.updateOkButton();
	}

}
